import { gql } from '@apollo/client';

// es6语法 标签模板的写法
export const GET_WXPAY_CONFIG = gql`
mutation getWxpayConfig($productId: String!, $quantity: Int!, $amount: Float!) {
    getWxpayConfig(productId: $productId,  quantity: $quantity, amount: $amount){
        code
        data {
            appId
            timeStamp
            nonceStr
            package
            signType
            paySign
        }
    }
    message
}
`;
